/*
 * @Author: 彭林
 * @Date: 2021-07-13 17:22:27
 * @LastEditTime: 2021-07-14 12:40:34
 * @LastEditors: 彭林
 * @Description:
 * @FilePath: /saas-app/app/api/v1/yjj_five_data.go
 */
package v1

import (
	"saas-app/app/service"
	"saas-app/library/response"

	"github.com/gogf/gf/net/ghttp"
)

func GetFiveData2(r *ghttp.Request) {

	if data, err := service.FiveDataService().GetAllData(); err != nil {
		response.JsonExit(r, 1, "获取失败")
	} else {
		response.JsonExit(r, 0, "成功", data)
	}
}
